PATH
Mac OS 8 and 9 Developer Documentation
>
Human Interface Toolbox
>
Icon Services and Utilities
>
Obtaining and Using Icons With Icon Services
Registering Icon Data
You can speed up access to frequently-used icon data by registering icons. The preferred way of registering icons is to use the function
RegisterIconRefFromIconFile
. This will make the icon data purgeable if you need to free up memory later. If you can't use the
RegisterIconRefFromResource
function, you can use the function
RegisterIconRefFromIconFamily
. To unregister icon data, use the function
UnregisterIconRef
.
© 1999 Apple Computer, Inc. – (Last Updated 03 Dec 99)